package com.travel.service;

import com.travel.base.BaseService;
import com.travel.bean.User;

public interface LoginService extends BaseService<User> {
	/**
	 * 注册业务
	 * @param user
	 * @return
	 */
	void register(User user);
	/**
	 * 登录业务，邮箱登录
	 * @param email
	 * @param password
	 * @return
	 */
	User login(String email,String password);
}
